package com.langfeiyes.pattern.factory.abstr;

//华为工厂-子类
public class HWProductFactory implements ProductFactory{
    @Override
    public PhoneProduct createPhone() {
        return new HWPhoneProduct();
    }

    @Override
    public ComputerProduct createComputer() {
        return new HWComputerProduct();
    }
}
